package JSE_02.Collections.Demo01;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;

public class Demo01 {
    public static void main(String[] args){
        ArrayList<String> list=new ArrayList<>();
//        list.add("a");
//        list.add("b");
//        list.add("c");
//        list.add("d");
//        System.out.println(list);
//        int[] a=new int[]{1,2,3};
//        System.out.println(a); //[I@71e7a66b
//        System.out.println(Arrays.toString(a)); // [1, 2, 3]

//        System.out.println("============");
//        Collections.addAll(list,"a","b","c","d");
//        System.out.println(list);
//        System.out.println("===========");
//        Collections.shuffle(list);
//        System.out.println(list);
    }
}
